package nuaa.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Group implements Serializable {
    private Integer groupId;                //队伍id
    private String groupName;               //队伍名称
    private Integer leaderId;               //队长id
    private Integer numOfPeople;            //队伍人数
    private String destinations;            //队伍路径
    private String meetingPlace;            //会见地点
    private String gatheringTime;           //会见时间
    private String duration;                //预计持续时间

    private Integer currentNumberOfPeople;  //当前人数

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Integer leaderId) {
        this.leaderId = leaderId;
    }

    public Integer getNumOfPeople() {
        return numOfPeople;
    }

    public void setNumOfPeople(Integer numOfPeople) {
        this.numOfPeople = numOfPeople;
    }

    public String getMeetingPlace() {
        return meetingPlace;
    }

    public void setMeetingPlace(String meetingPlace) {
        this.meetingPlace = meetingPlace;
    }

    public String getGatheringTime() {
        return gatheringTime;
    }

    public void setGatheringTime(String gatheringTime) {
        this.gatheringTime = gatheringTime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getDestinations() {
        return destinations;
    }

    public void setDestinations(String destinations) {
        this.destinations = destinations;
    }

    @Override
    public String toString() {
        return "Group{" +
                "groupId=" + groupId +
                ", groupName='" + groupName + '\'' +
                ", leaderId=" + leaderId +
                ", numOfPeople=" + numOfPeople +
                ", destinations='" + destinations + '\'' +
                ", meetingPlace='" + meetingPlace + '\'' +
                ", gatheringTime='" + gatheringTime + '\'' +
                ", duration='" + duration + '\'' +
                '}';
    }

    public Integer getCurrentNumberOfPeople() {
        return currentNumberOfPeople;
    }

    public void setCurrentNumberOfPeople(Integer currentNumberOfPeople) {
        this.currentNumberOfPeople = currentNumberOfPeople;
    }
}
